<?php /* Smarty version Smarty-3.1.12, created on 2013-03-09 15:52:46
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/index/modals/firstLogin.tpl" */ ?>
<?php /*%%SmartyHeaderCode:199067663450f2bfc62e93e9-08005039%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd024d1657553f539bd16cf297b600314ac2c4fb7' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/index/modals/firstLogin.tpl',
      1 => 1362840762,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '199067663450f2bfc62e93e9-08005039',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50f2bfc62ed5e1_78097481',
  'variables' => 
  array (
    'userAvatarMed' => 0,
    'userName' => 0,
    'elo' => 0,
    'eloArray' => 0,
    'modi' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50f2bfc62ed5e1_78097481')) {function content_50f2bfc62ed5e1_78097481($_smarty_tpl) {?><script type="text/javascript">
	var firstLogin = getParameterByName("firstLogin");
	l(firstLogin);
	if (firstLogin == 1) {
		l("hier udn so");
		$(document).ready(function() {
			$("#myModalFirstLogin").modal({
				backdrop : "static",
				keyboard : false
			});

			// Form Validierung
			//$("#firstLoginForm").validate({
			//	rules: {
			//	regionSelect: {
			//		required: true
			//}
			//}
			//});

		});
	}
</script>
<!-- FirstLogin -->

<form action="." method="post" id="firstLoginForm">
	<div id="myModalFirstLogin" class="modal hide fade" tabindex="-1"
		role="dialog" aria-labelledby="myModalFirstLogin" aria-hidden="true">
		<div class="modal-header">
			<h3 id="myModalFirstLoginLabel" align="center">Welcome to DotA2
				League</h3>
		</div>
		<div class="modal-body" align="center">
			<h4>
				Hello <img src="<?php echo $_smarty_tpl->tpl_vars['userAvatarMed']->value;?>
" alt="Avatar" width="20">
				<?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
!<br> You successfully signed in to DotA2 League
			</h4>

			<p>
				Your Start-Elo in all current availabled Matchmodes is: <strong><?php echo $_smarty_tpl->tpl_vars['elo']->value;?>
</strong>
			</p>
			<div class="row-fluid"><?php echo $_smarty_tpl->getSubTemplate ("prototypes/eloCarousel.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('carouselID'=>'firstLoginCarousel','spanClass'=>'span12','eloArray'=>$_smarty_tpl->tpl_vars['eloArray']->value,'modi'=>$_smarty_tpl->tpl_vars['modi']->value,'matchTypeID'=>1), 0);?>
</div>
			<!-- Landauswahl -->
			<!--       <DIV ID="REGIONSELECTAREA"> -->
			<!--       	<H5>REGION SELECTION</H5> -->
			<!--         FOR BETTER MATCHMAKING, PLEASE CHOOSE YOUR REGION WHERE YOU ARE PLAYING CURRENTLY -->
			<!--         <SELECT NAME="REGIONSELECT" ID="REGIONSELECT" > -->
			<!--           <OPTION VALUE="">-PLEASE CHOOSE YOUR REGION-</OPTION> -->
			<!--           <OPTION VALUE="EU">EUROPE</OPTION> -->
			<!--           <OPTION VALUE="USW">US-WEST</OPTION> -->
			<!--           <OPTION VALUE="USE">US-EAST</OPTION> -->
			<!--           <OPTION VALUE="EUE">EUROPE-EAST</OPTION> -->
			<!--           <OPTION VALUE="RU">RUSSIA</OPTION> -->
			<!--           <OPTION VALUE="SEA">SOUTHEAST ASIA</OPTION> -->
			<!--           <OPTION VALUE="AU">AUSTRALIA</OPTION> -->
			<!--           <OPTION VALUE="SA">SOUTH AMERICA</OPTION> -->
			<!--           <OPTION VALUE="CH">CHINA</OPTION> -->
			<!--         </SELECT> -->
			<!--       </DIV> -->

		</div>
		<!-- ModalBody-End -->
		<div class="modal-footer">
			<button class="btn" type="button" onClick="handleViewProfile();">View
				Profile</button>
			<button class="btn btn-primary" type="button"
				onClick="handleFindMatch();">Alright, find a Match!</button>
		</div>
	</div>
	</div>
</form>
<?php }} ?>